package com.fastCms.business.friend.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 用户盲盒
 * </p>
 *
 * @author liusq
 * @since 2024-04-28
 */
@Data
@ApiModel(value = "UserBox对象", description = "用户盲盒")
public class UserBox extends Model<UserBox> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "盲盒标题")
    private String title;

    @ApiModelProperty(value = "内容类型:1-图片 2-视频")
    private Integer contentType;

    @ApiModelProperty(value = "盲盒图片")
    private String contentUrl;

    @ApiModelProperty(value = "盲盒文案")
    private String content;

    @ApiModelProperty(value = "盲盒价格")
    private String price;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "盲盒失效时间;空则永久有效")
    private LocalDateTime expireTime;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "1-正常0-已删除")
    private Integer state;

    @ApiModelProperty(value = "微信号")
    private String wechat;

    @ApiModelProperty(value = "QQ号码")
    private String qq;

    @ApiModelProperty(value = "日常-经度")
    private String longitude;

    @ApiModelProperty(value = "日常-纬度")
    private String latitude;

    @ApiModelProperty(value = "感兴趣的数量(多少人想拆)")
    private Integer hot;
}
